Telegram Group & Telegram Channel
🌲 #newfeature
Changes to security()'s resolution= parameter.

The security() function was recently updated to accommodate an empty string or na as an argument to its resolution= parameter. In both cases, the chart's resolution (timeframe.period) will be used.

This will be handy in conjunction with the new "Same as Symbol" choice which is now part of the recent resolution widget's dropdown, which appears in the script's Inputs when you use:
r = input("D", type = input.resolution)


When users select "Same as Symbol" in the dropdown, the widget returns an empty string. As we had documented here, coders previously had to use special logic to process an empty string, as security() would throw an error if an empty string was used for the resolution. Now, we can forego the special logic and simply write:
r = input("D", type = input.resolution)
c = security(syminfo.tickerid, r, close)


Note that the default value we supply in the input() call must be one of the dropdown's choices (or an empty string for "Same as Symbol), otherwise "Same as Symbol" will be used in its place.



tg-me.com/PineCodersSquawkBox/42
Create:
Last Update:

🌲 #newfeature
Changes to security()'s resolution= parameter.

The security() function was recently updated to accommodate an empty string or na as an argument to its resolution= parameter. In both cases, the chart's resolution (timeframe.period) will be used.

This will be handy in conjunction with the new "Same as Symbol" choice which is now part of the recent resolution widget's dropdown, which appears in the script's Inputs when you use:

r = input("D", type = input.resolution)


When users select "Same as Symbol" in the dropdown, the widget returns an empty string. As we had documented here, coders previously had to use special logic to process an empty string, as security() would throw an error if an empty string was used for the resolution. Now, we can forego the special logic and simply write:
r = input("D", type = input.resolution)
c = security(syminfo.tickerid, r, close)


Note that the default value we supply in the input() call must be one of the dropdown's choices (or an empty string for "Same as Symbol), otherwise "Same as Symbol" will be used in its place.

BY PineCoders Squawk Box




Share with your friend now:
tg-me.com/PineCodersSquawkBox/42

View MORE
Open in Telegram


PineCoders Squawk Box Telegram | DID YOU KNOW?

Date: |

However, analysts are positive on the stock now. “We have seen a huge downside movement in the stock due to the central electricity regulatory commission’s (CERC) order that seems to be negative from 2014-15 onwards but we cannot take a linear negative view on the stock and further downside movement on the stock is unlikely. Currently stock is underpriced. Investors can bet on it for a longer horizon," said Vivek Gupta, director research at CapitalVia Global Research.

How Does Telegram Make Money?

Telegram is a free app and runs on donations. According to a blog on the telegram: We believe in fast and secure messaging that is also 100% free. Pavel Durov, who shares our vision, supplied Telegram with a generous donation, so we have quite enough money for the time being. If Telegram runs out, we will introduce non-essential paid options to support the infrastructure and finance developer salaries. But making profits will never be an end-goal for Telegram.

PineCoders Squawk Box from kr


Telegram PineCoders Squawk Box
FROM USA